<?php

namespace app\api\validate;

use think\Validate;

class Speaker extends Validate
{
    protected $rule = [
        ['content',       'require|length:1,100',  '内容不能为空|字数在1-100'],
    ];

    protected $scene = [
        'publish'           => ['content'],
    ];
}
